.class Lcom/waiqin365/lightapp/kehu/o;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;->e(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;->e(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;->e(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;->f(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;->a(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/o;->a:Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;->g(Lcom/waiqin365/lightapp/kehu/CMAddCustomerMapLableActivity;)V

    return-void
.end method
